package ownLinkedlist;

import java.util.Iterator;

public interface OwnIterator extends Iterator {
    public Object getElement();

    boolean isAscending();

    void switchToAscending();

    void switchToDescending();

    Object previous();

    void moveToHead();

    void moveToTail();

    boolean hasPrevious();
}
